package field_method010;

public class SonLikeDo implements DadLikeDo,MonLikeDo{

    @Override
    public void ride() {
        System.out.println("骑车");
    }

    @Override
    public void basketball() {
        System.out.println("打篮球");
    }


    @Override
    public void sing() {
        System.out.println("唱歌");
    }

    @Override
    public void dance() {
        System.out.println("跳舞");
    }

    public static void main(String[] args) {
        SonLikeDo sonlikeDo=new SonLikeDo();
        sonlikeDo.basketball();
        sonlikeDo.ride();
        sonlikeDo.dance();
        sonlikeDo.sing();
    }
}

